package com.aisi.backend.service;

import jakarta.servlet.ServletOutputStream;
import jakarta.servlet.http.Part;

import java.io.IOException;
import java.io.InputStream;

/**
 * @Author: shenjianZ
 * @Date: 2024/5/12 上午8:30
 * @Description:
 */


public interface ImageService {
    String uploadImage(Part filePart, Integer userId) throws IOException;

    void fetchImageFromMinio(ServletOutputStream outputStream, String imagePath) throws Exception ;
}
